package com.zhiyuancode.mqack.message.base.addressAndMessage;


import com.zhiyuancode.mqack.message.base.MqTypeEnum;
import com.zhiyuancode.mqack.message.base.message.BaseMessage;
import lombok.Builder;
import lombok.Data;

/**
 * @author 杨志远
 * email faryangsh@163.com
 * Date    2018-05-03
 */
@Data
@Builder
public class AddressAndMessage4Object<T extends BaseMessage> extends BaseAddressAndMessage {
    private String mqAddress;
    private T message;

    /**
     * {@link MqTypeEnum}
     */
    private String mqType;
}
